import request from '~/utils/request'

export function bigData() {
  return request({
    url: 'portal/home/bigData',
    method: 'post',
    data: {}
  })
}

export function queryGreatSite(data) {
  return request({
    url: 'portal/home/greatSite',
    method: 'post',
    data: data
  })
}

export function queryNews(type,count) {
  return request({
    url: 'portal/home/news',
    method: 'post',
    data: {
      type: type,
      count: count
    }
  })
}
